import Layout from '@/layout'

const router = {
  path: '',
  component: Layout,
  redirect: '/index',
  name: 'Index',
  children: [{
    path: 'index',
    hidden: false,
    component: () => import('@/views/HomePage/index'),
    meta: {
      ctitle: '首页',
      icon: 'dashboard',
      noCache: true,
      affix: true
    }
  }, {
    path: 'notice',
    component: () => import('@/views/HomePage/notice'),
    meta: {
      ctitle: '通知&文件',
      icon: 'exam'
    }
  }, {
    path: 'dyxf',
    component: () => import('@/views/HomePage/dyxf'),
    meta: {
      ctitle: '党员先锋',
      icon: 'exam'
    }
  },
  ],
  meta: {
    ctitle: '首页',
    icon: 'dashboard',
  }

}

export default router
